
// Simple MVC 
// Model describes an entity in the database 
// Controller describes how it relates to the database
// View describes the entity to the user

//Class for a user model

	//Ticket -
        // id
        // name
        // lead
        // description
        // project
        // created
        // createdBy
        // status
        // user list  // assigned to list
        // progress   // overall progress of all nodes
        // internalStatus
			
var Ticket = new Class({

    Extends: Model,
    
/* Construct a new ticket */

	initialize: function( data )
		{
            this.parent(data);
			this.stringType = 'Ticket';
            
            this.internalStatus = 'active';
		},
        
    edit: function(prop, value)
        {
            this.baseEdit( prop, value );
        }
		
});